package com.warm.pump.module.sys.mapper.gen;

import com.warm.pump.module.sys.bean.po.gen.SysRole;
import com.warm.pump.module.sys.bean.po.gen.SysRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Mapper;

@org.apache.ibatis.annotations.Mapper
public interface SysRoleMapper{
    int countByExample(SysRoleExample example);

    int deleteByExample(SysRoleExample example);
    int deleteByPrimaryKey(@Param("roleId") Long roleId);
    int insert(SysRole record);

    int insertSelective(SysRole record);

    List<SysRole> selectByExample(SysRoleExample example);
    SysRole selectByPrimaryKey(@Param("roleId") Long roleId);
    int updateByExampleSelective(@Param("record") SysRole record, @Param("example") SysRoleExample example);

    int updateByExample(@Param("record") SysRole record, @Param("example") SysRoleExample example);
    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);
}
